﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ReporteProductos.aspx.cs" Inherits="ReporteProductos" %>

<%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            text-align: center;
            color: #000099;
            font-family: Aparajita;
            font-size: xx-large;
            width: 636px;
        }
        .style3
        {
            width: 636px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <table class="style1">
            <tr>
                <td class="style2">
                    <strong>REPORTE DE PRODUCTOS EXISTENTES</strong></td>
                <td>
                    <asp:Button ID="Button1" runat="server" ForeColor="Black" 
                        onclick="Button1_Click" 
                        style="font-weight: 700; font-style: italic; text-decoration: underline; color: #6600FF" 
                        Text="Generar Reporte" />
                </td>
            </tr>
            <tr>
                <td class="style3">
                    <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" 
                        Font-Size="8pt" InteractiveDeviceInfos="(Colección)" 
                        WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt">
                        <LocalReport ReportPath="Report1.rdlc">
                            <DataSources>
                                <rsweb:ReportDataSource DataSourceId="ObjectDataSource1" Name="DataSet1" />
                            </DataSources>
                        </LocalReport>
                    </rsweb:ReportViewer>
                    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
                        SelectMethod="GetData" 
                        TypeName="ReportedeProductosTableAdapters.ProductoTableAdapter">
                    </asp:ObjectDataSource>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
